package cn.tedu.csmall.product.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 计划任务配置类  作用 使用@EnableScheduling注解,开启计划任务
 * @author 何惠民
 */
@Slf4j
@Configuration
@EnableScheduling
public class ScheduleConfiguration {
    public ScheduleConfiguration() {
        log.debug("创建配置类对象:ScheduleConfiguration");
    }
}
